package edu.guigu.networkconnection.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * @Description: (用一句话描述)
 * @author yuanc
 * @date 2025/8/25 16:11
{
"login": "mojombo",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mojombo",
"html_url": "https://github.com/mojombo",
"followers_url": "https://api.github.com/users/mojombo/followers",
"following_url": "https://api.github.com/users/mojombo/following{/other_user}",
"gists_url": "https://api.github.com/users/mojombo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mojombo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mojombo/subscriptions",
"organizations_url": "https://api.github.com/users/mojombo/orgs",
"repos_url": "https://api.github.com/users/mojombo/repos",
"events_url": "https://api.github.com/users/mojombo/events{/privacy}",
"received_events_url": "https://api.github.com/users/mojombo/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
 */
public class User {
    public String login;
    @SerializedName(value = "site_admin")
    public String siteAdmin;
    @SerializedName(value = "user_view_type")
    public String userViewType;
    @SerializedName(value = "events_url")
    public String eventsUrl;
    @Expose(serialize = false,deserialize = false)
    public boolean isSelect = true; // 是否选中
    @Override
    public String toString() {
        return "User{" +
                "eventsUrl='" + eventsUrl + '\'' +
                ", userViewType='" + userViewType + '\'' +
                ", siteAdmin='" + siteAdmin + '\'' +
                ", login='" + login + '\'' +
                '}';
    }
}
